﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<!DOCTYPE html>

<html>
<head runat="server">
    <title>后台管理</title>
    <link rel="stylesheet" type="text/css" href="/ext4/resources/css/ext-all.css"/>
    <link rel="stylesheet" type="text/css" href="/css/data-view.css"/>
    <link rel="stylesheet" type="text/css" href="/css/icon.css"/>
    <link rel="stylesheet" type="text/css" href="/css/main.css"/>
    <script src="ext4/bootstrap.js" type="text/javascript"></script>
    <script type="text/javascript" src="ext4/locale/ext-lang-zh_CN.js" ></script>
    <script src="app.js" type="text/javascript"></script>
    <script type="text/javascript"> 

        Ext.Loader.setConfig({enabled: true});
    	
        Ext.onReady(function () {

            
            var str_userName = "<%=Session["MANAGER_USER"]%>";


            if (str_userName == "") {

                //window.location.href = "/PhoneTest/login";
            }

            Ext.QuickTips.init();

            Ext.state.Manager.setProvider(Ext.create('Ext.state.CookieProvider'));

            //设置全局请求处理	 
            Ext.Ajax.timeout = 300000;

            Ext.Ajax.on("requestcomplete", function (conn, response, options) {

                var msg = response.responseText;

                if (msg.indexOf('过期') > 0) {

                    //window.location.href = "/PhoneTest/login";
                }
            });

            Ext.Ajax.on("requestexception", function (conn, response, options) {

                if (response.status != 200) {

                    alert('程序请求中出现错误,如有问题请刷新重试!');

                }
            });
        });

    </script>
</head>
<body>

    <div id="north">
  <div class="logo">网站后台管理系统</div>
  <div style="float:right;padding-right:20px;padding-top:10px;color:black;font-size:12px" class="top">
  	<span><%=Session["MANAGER_USER"]%></span>&nbsp;|&nbsp;
  	<span><a href="javascript:void(0)" >修改密码</a></span>&nbsp;|&nbsp;
  	<span>帮助</span>&nbsp;|&nbsp;
  	<span><a href="logoff" >注销</a></span>
  </div>
  <div class="cleaner"></div>
</div>



    <div>
        
    </div>
</body>
</html>
